﻿using UnityEngine;
using System.Collections;

public class MainMenuButtonCtrl : MonoBehaviour {

    public GameObject dialog_newGame;

	void Start () {
	
	}
	
	void Update () {
	
	}

    public void cmdNuovaPartita_Click()
    {
        dialog_newGame.SetActive(true);
    }

    public void cmdCaricaPartita_Click()
    {

    }

    public void cmdOpzioni_Click()
    {

    }

    public void dialogNewGame_YES()
    {
        Application.LoadLevel("demo");
    }

    public void dialogNewGame_NO()
    {
        dialog_newGame.SetActive(false);
    }
}
